{{#if isInPath}}
    </ul>
    <ul class="current">
{{/if}}
<!-- Unless the url is part of the exclusion list, render them -->
{{#unless (excludedNavUrl this.cssClasses isInPath)}}
<li class="{{#if isInPath}}current{{/if}} {{cssClasses}}">
    <a href="{{relativeURL url}}" class="tsd-kind-icon">{{{wbr title}}}</a>
    {{#if children}}
        <ul>
            {{#each children}}
                {{> toc}}
            {{/each}}
        </ul>
    {{/if}}
</li>
{{/unless}}
{{#if isInPath}}
    </ul>
    <ul class="after-current">
{{/if}}
